<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../public/public.jsp"%>
<html>
	<head>
		<title>修改角色</title>
	<!--<link rel="stylesheet" type="text/css" href="styles.css">-->
		<script type="text/javascript" src="<%=path %>/js/commom/jquery.js"></script>
        <script type="text/javascript" src="<%=path %>/js/commom/jquery.form.js"></script>
		<script type="text/javascript" src="<%=path %>/js/commom/validate.js"></script>
		<script type="text/javascript" src="<%=path %>/js/commom/util.js"></script>
		<script type="text/javascript" src="<%=path %>/js/usermanage/role.js"></script>
	</head>
	<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
	<body style="margin: 0" bgcolor="#FFFFEE">
	<iframe  id='target_upload' name='target_upload' src='' style='display: none'></iframe>
		<form id="roleForm" action="roles.action" method="post" target="target_upload">
		<input type="hidden" name="cmd" value="update">
			<input type="hidden" id="roleId" name="po.id" value="<s:property value='po.id'/>">
			<table width="100%" border="0" align="center" cellspacing="1"
				bgcolor="#000000">
				<tr>
					<td align="center" valign="middle" bgcolor="#FFF7E5" width="100%" height="25" colspan="2">
						<img src="<%=path %>/img/update.gif" border="0">
						<font color="#FF6600" size=2>&nbsp;修改</font>
					</td>
				</tr>
				<tr>
					<td bgcolor="#80BFFF" width="30%">
					</td>
					<td bgcolor="#80BFFF" width="70%">
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle" bgcolor="#DBEAF5"  height="25"> 
						<font color="#10659E" size="2">&nbsp;&nbsp;角色名:&nbsp;&nbsp;</font>
					</td>
					<td align="left" valign="middle" bgcolor="#FFF7E5" height="25">
						<input class="Button_Style" type="text" id="roleName" name="po.roleName" value="<s:property value='po.roleName'/>" size="30">
						<font color="#FF6600" size=2>*</font>
					</td>
				</tr>

				<tr>
					<td align="right" valign="middle" bgcolor="#DBEAF5" height="25"> 
						<font color="#10659E" size="2">&nbsp;&nbsp;中文名:&nbsp;&nbsp;</font>
					</td>
					<td align="left" valign="middle" bgcolor="#FFF7E5"  height="25">
						<input class="Button_Style" type="text" id="roleCname" name="po.roleCname" value="<s:property value='po.roleCname'/>" size="30">
						<font color="#FF6600" size=2>*</font>
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle" bgcolor="#DBEAF5" height="25"> 
						<font color="#10659E" size="2">&nbsp;&nbsp;用户状态:&nbsp;&nbsp;</font>
					</td>
					<td align="left" valign="middle" bgcolor="#FFF7E5"  height="25">
						<input type="radio" name="po.sts" class="Button_Style"
							value="ACTV" id="radiobutton"
							<s:if test="po.sts=='ACTV'"> checked="checked" </s:if> />
						<label for="radiobutton"><font size=2>可用</font></label>
						<input type="radio" class="Button_Style" name="po.sts"
							<s:if test="po.sts=='WAST'"> checked="checked" </s:if>
							value="WAST" id="radio" />
						<label for="radio"><font size=2>禁用</font></label>
						<br>
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle" bgcolor="#DBEAF5" height="25"> 
						<font color="#10659E" size="2">&nbsp;&nbsp;备注:&nbsp;&nbsp;</font>
					</td>
					<td align="left" valign="middle" bgcolor="#FFF7E5"  height="25">
						<input class="Button_Style" type="text" id="remark" name="po.remark" value="<s:property value='po.remark'/>" size="30">
					</td>
				</tr>
				<tr>
					<td align="center" bgcolor="#DBEAF5" width="100%" height="25"
						colspan="2">
						<input type="button" value="修改" onclick="update()">
						&nbsp;&nbsp;
						<input type="reset" value="重置">
						&nbsp;&nbsp;
						<input type="button" value="取消" onclick="window.close()">
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>